package com.chao.wind3j.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum DataStatus {
  Expired("过期", "expired", 0),
  Normal("正常", "normal", 1),
  Forbidden("禁用", "forbidden", 2),
  Deleted("删除", "deleted", 3);
  private final String text;
  private final String value;
  @EnumValue
  private final Integer id;
  DataStatus(String text, String value, Integer id) {
    this.value = value;
    this.text = text;
    this.id = id;
  }
}
